home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / gdb-4.5 / sun4.md / gdb / RCS / xm-sun4os4.h,v < prev   
Encoding:
Text File  |  1992-06-24  |  2.0 KB  |  74 lines

  1. head     1.1;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.1
  10. date     92.06.09.14.26.53;  author secor;  state Exp;
  11. branches ;
  12. next     ;
  13.  
  14.  
  15. desc
  16. @@
  17.  
  18.  
  19.  
  20. 1.1
  21. log
  22. @Initial revision
  23. @
  24. text
  25. @/* Macro definitions for running gdb on a Sun 4 running sunos 4.
  26.    Copyright (C) 1989, Free Software Foundation, Inc.
  27.  
  28. This file is part of GDB.
  29.  
  30. This program is free software; you can redistribute it and/or modify
  31. it under the terms of the GNU General Public License as published by
  32. the Free Software Foundation; either version 2 of the License, or
  33. (at your option) any later version.
  34.  
  35. This program is distributed in the hope that it will be useful,
  36. but WITHOUT ANY WARRANTY; without even the implied warranty of
  37. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  38. GNU General Public License for more details.
  39.  
  40. You should have received a copy of the GNU General Public License
  41. along with this program; if not, write to the Free Software
  42. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  43.  
  44. #include "xm-sparc.h"
  45. #define FPU
  46.  
  47. #ifdef sprite
  48. #define USRSTACK 0xf6000000
  49. #define STACK_END_ADDRESS 0xf6000000
  50. #define NO_SIGINTERRUPT
  51. #endif
  52.  
  53. /* Large alloca's fail because the attempt to increase the stack limit in
  54.    main() fails because shared libraries are allocated just below the initial
  55.    stack limit.  The SunOS kernel will not allow the stack to grow into
  56.    the area occupied by the shared libraries.  Sun knows about this bug
  57.    but has no obvious fix for it.  */
  58. #define BROKEN_LARGE_ALLOCA
  59.  
  60. /* SunOS 4.x has memory mapped files.  */
  61.  
  62. #define HAVE_MMAP
  63.  
  64. /* If you expect to use the mmalloc package to obtain mapped symbol files,
  65.    for now you have to specify some parameters that determine how gdb places
  66.    the mappings in it's address space.  See the comments in map_to_address()
  67.    for details.  This is expected to only be a short term solution.  Yes it
  68.    is a kludge.
  69.    FIXME:  Make this more automatic. */
  70.  
  71. #define MMAP_BASE_ADDRESS    0xE0000000    /* First mapping here */
  72. #define MMAP_INCREMENT        0x01000000    /* Increment to next mapping */
  73. @
  74.